package com.wuxiaofan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wuxiaofan.entity.SeckillOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SeckillOrderMapper extends BaseMapper<SeckillOrder> {

    List<SeckillOrder> findByUserIdAndGoodsId(@Param("userId") long userId, @Param("goodsId") long goodsId);

}
